package com.ruoyi.wms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物料管理对象 wms_items
 * 
 * @author ruoyi
 * @date 2021-10-13
 */
public class WmsItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组别状态（0正常 1停用） */
    private String status;

    /**物料分组*/
    private WmsItemGroups wmsItemGroups;

    /** 物料uuid */
    @Excel(name = "物料uuid", type = Excel.Type.IMPORT)
    private String itemUuid;

    /** 组别ID */
    @Excel(name = "组别编号", type = Excel.Type.IMPORT)
    private Long groupId;

    /** 规格 */
    @Excel(name = "规格型号", type = Excel.Type.IMPORT)
    private String itemSpecification;

    /** 备注 */
    @Excel(name = "备注",type = Excel.Type.IMPORT)
    private String itemNote;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 计量单位代码 */
    @Excel(name = "计量单位代码")
    private String wmsDictMeasuringUnit;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String measuringUnitLabel;


    public String getMeasuringUnitLabel() {
        return measuringUnitLabel;
    }

    public void setMeasuringUnitLabel(String measuringUnitLabel) {
        this.measuringUnitLabel = measuringUnitLabel;
    }

    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public WmsItemGroups getWmsItemGroups() {
        return wmsItemGroups;
    }

    public void setWmsItemGroups(WmsItemGroups wmsItemGroups) {
        this.wmsItemGroups = wmsItemGroups;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setItemUuid(String itemUuid)
    {
        this.itemUuid = itemUuid;
    }

    public String getItemUuid()
    {
        return itemUuid;
    }

    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }

    public void setItemNote(String itemNote)
    {
        this.itemNote = itemNote;
    }

    public String getItemNote()
    {
        return itemNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("itemUuid", getItemUuid())
                .append("groupId", getGroupId())
                .append("status", getStatus())
                .append("ancestors", getAncestors())
                .append("itemNum", getItemNum())
                .append("itemName", getItemName())
                .append("itemNote", getItemNote())
                .toString();
    }
}
